<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>分类</title>
</head>
<body>
{include file='public/header'}
<div class="container">
    <div class="row">
        <div class="col-xs-12 col-md-12 col-lg-8">
            {volist name="result" id="vo"}
            <div class="row blog-list">
                <h2 class="col-xs-12 col-md-12 col-lg-12"><a href="{:url('index/article/read',['id'=>$vo.id])}">{$vo.blog_title}</a></h2>
                <div class="col-xs-12 col-md-12 col-lg-12 m-p-10">
                    <ul class="row">
                        <li class="col-xs-5 col-md-2 col-lg-3"><span class="glyphicon glyphicon-user"></span>{$vo.blog_author}</li>
                        <li class="col-xs-5 col-md-2 col-lg-3"><span class="glyphicon glyphicon-calendar"></span>{$vo.create_time}</li>
                        <li class="col-xs-5 col-md-2 col-lg-3"><span class="glyphicon glyphicon-th-list"></span>&nbsp;{$vo->category->cat_name}</li>
                        <li class="col-xs-5 col-md-2 col-lg-3"><span class="glyphicon glyphicon-tags"></span>&nbsp;{$vo->tag->tname}</li>
                    </ul>
                </div>
                <div class="row">
                    <div class="col-sm-2 col-md-2 col-xs-2 col-lg-4">
                        <a class="thumbnail" href="{:url('index/article/read',['id'=>$vo.id])}">
                            <img src="/thinkphp-practice/public/static/img/test.png"/>
                        </a>
                    </div>
                    <div class="col-xs-12 col-md-12 col-lg-7 blog-content" id="blog_content" style="text-overflow:ellipsis;overflow:hidden;width: 500px;height: 120px">
                        {:strip_tags($vo.blog_content)}
                    </div>
                </div>
            </div>
            {/volist}
            <div class="col-xs-12 col-md-12 col-lg-8 text-center">
                {$result->render()}
            </div>
        </div>
        {include file='public/right'}
    </div>
</div>
{include file='public/footer'}
</body>
</html>